#ifndef CLIENTMANAGEMENT_H
#define CLIENTMANAGEMENT_H

#include <QString>

#include "communication.h"

class ClientManagement
{
public:
    ClientManagement();

    static Text login(QString userid, QString psw);
    static Text modify(QString userid, QString username, QString psw);
    static Text query(QString start, QString arrival, QString date);
    static Text purchase(QString userid, QString ticketID, QString date);
    static Text queryHistory(QString userid);
    static Text cancell(QString ticketID);
private:
    static void modifyUser(QString userid, QString username, QString psw);
};

#endif // CLIENTMANAGEMENT_H
